/**
 * TestComp2
 */
import React from 'react';
import styles from './index.less';
import { connectMaster  } from 'umi';

@connectMaster 
export default class extends React.Component {
  componentDidMount = async () => {
    console.log(this.props)
  };
  render() {
    var name = this.props.data?.name || ''
    return <div>TestComp2 我是 {name}</div>;
  }
}
